Not Operator

Used to perform logical negation of a Boolean expression.


Syntax

result=Not expression

PartDescription
result A Boolean value.
expression Any valid Boolean expression.


Notes

Not returns the opposite of the Boolean value expression evaluates to. If expression evaluates to True, Not returns False. If expression evaluates to False, Not returns True.


See Also

And, Or operators; Operator_Not function.